import CategoryName from './categoryname.vue'
import CategoryNameSearch from './categorynameSearch.vue'
import CategoryNameEdit from './categorynameEdit.vue'
import CategoryNameAdd from './categorynameAdd.vue'
import CategoryNameView from './categorynameView.vue'

const components = [
  CategoryName,
  CategoryNameSearch,
  CategoryNameEdit,
  CategoryNameAdd,
  CategoryNameView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
